package jogoprojetopi;

import s3t.gameControl.system.GameSystem;


public class Main {

    public static void main(String[] args) {

        LoadIMages load = new LoadIMages();
        /*Cria a sequencia de telas do jogo*/
        MenuState game = new MenuState();
        game.load();

        /*** Cria a janela do jogo ***/
        Window window = new Window();
        
        GameSystem.getInstance().getGraphicEngine().setPaintPanel( window.getGamePanel() );
        GameSystem.getInstance().setObjGameUpdate( new MenuStateUpdate() );
        GameSystem.getInstance().init();
    }
}
